/*
 * Copyright (c) 2006, 2023, webrx.cn All rights reserved.
 *
 */
package cn.webrx.mapper;

import cn.webrx.entity.Book;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p></p>
 * <p>Powered by webrx On 2023-04-18 14:20:09</p>
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public interface BookMapper {
    @Select("select * from t_book")
    List<Book> queryAll();

    int count();

    int add(Book book);

}
